#ifndef TRAFFIC_JAM_PTHREAD_WRAPPER_HPP
#define TRAFFIC_JAM_PTHREAD_WRAPPER_HPP

#include "direction.hpp"
#include "quadruple.hpp"
#include <pthread.h>

/* ========
 * pthread的封装
 * ======== */

#if (defined(__APPLE__) && defined(__MACH__))
#include "pthreadwrapper/darwin.hpp"
#elif (defined(__linux__))
#include "pthreadwrapper/linux.hpp"
#else
#error "Unknown platform. Hack me & try it out"
#endif //TRAFFIC_JAM_PTHREADWRAPPER_HPP

#include "pthreadwrapper/common.hpp"

#endif
